package com.jacken.springcloudseatabank01;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

import javax.activation.DataSource;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@MapperScan("com.jacken.springcloudseatabank01.mapper")
@EnableDiscoveryClient
@EnableFeignClients // 扫描 @FeignClient 注解
public class SpringcloudSeataBank01Application {

    public static void main(String[] args) {
        SpringApplication.run(SpringcloudSeataBank01Application.class, args);
    }

}
